//package com.rp.api.user;
//
//import com.rp.bo.RegistLoginBO;
//import com.rp.news.common.Result;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.validation.BindingResult;
//import org.springframework.web.bind.annotation.*;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import javax.validation.Valid;
//
//@Api(value = "用户登录注册", tags = {"用户登录注册congtroller api文档"})
//@RequestMapping("/passport")
//public interface PassportControllerApi {
//
//    @ApiOperation(value = "测试发送短信接口", notes = "测试发送短信接口", httpMethod = "GET")
//    @GetMapping("/getSMSCode")
//    Result getSmsCode(String mobile, HttpServletRequest request);
//
//
//    @ApiOperation(value = "一键登录接口", notes = "一键登录接口", httpMethod = "POST")
//    @PostMapping("/doLogin")
//    Result doLogin(@RequestBody @Valid RegistLoginBO registLoginBO, BindingResult bindResult, HttpServletRequest request, HttpServletResponse response);
//
//
//    @ApiOperation(value = "退出登录", notes = "退出登录", httpMethod = "POST")
//    @PostMapping("/logout")
//    Result logout(@RequestParam String userId, HttpServletRequest request, HttpServletResponse response);
//
//}
